home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / sockv2 / fileview.pas < prev    next >
Pascal/Delphi Source File  |  1996-04-08  |  802b  |  45 lines

  1. unit Fileview;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
  6.   StdCtrls, ExtCtrls;
  7.  
  8. type
  9.   TViewDLG = class(TForm)
  10.     OKBtn: TBitBtn;
  11.     CancelBtn: TBitBtn;
  12.     Bevel1: TBevel;
  13.     Label1: TLabel;
  14.     FileName: TEdit;
  15.     GroupBox1: TGroupBox;
  16.     rbASCII: TRadioButton;
  17.     rbBINARY: TRadioButton;
  18.     rbEBCDIC: TRadioButton;
  19.     procedure FormCreate(Sender: TObject);
  20.     procedure FormShow(Sender: TObject);
  21.   private
  22.     { Private declarations }
  23.   public
  24.     { Public declarations }
  25.   end;
  26.  
  27. var
  28.   ViewDLG: TViewDLG;
  29.  
  30. implementation
  31.  
  32. {$R *.DFM}
  33.  
  34. procedure TViewDLG.FormCreate(Sender: TObject);
  35. begin
  36.   rbASCII.Checked := True;
  37. end;
  38.  
  39. procedure TViewDLG.FormShow(Sender: TObject);
  40. begin
  41.   FileName.SetFocus;
  42. end;
  43.  
  44. end.
  45.